package com.anolesoft.yr.store.stk.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.anolesoft.yr.store.stk.entity.StkLocation;
import com.anolesoft.yr.store.stk.dao.StkLocationDao;
import com.anolesoft.yr.store.stk.entity.StkLocationExample;
import com.anolesoft.yr.store.stk.service.StkLocationService;

@Service
public class StkLocationServiceImpl extends ServiceImpl<StkLocationDao, StkLocation> implements StkLocationService {

    @Override
    public long countByExample(StkLocationExample example) {
        return baseMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(StkLocationExample example) {
        return baseMapper.deleteByExample(example);
    }

    @Override
    public List<StkLocation> selectByExample(StkLocationExample example) {
        return baseMapper.selectByExample(example);
    }

    @Override
    public int updateByExampleSelective(StkLocation record, StkLocationExample example) {
        return baseMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(StkLocation record, StkLocationExample example) {
        return baseMapper.updateByExample(record, example);
    }

    @Override
    public int updateBatch(List<StkLocation> list) {
        return baseMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<StkLocation> list) {
        return baseMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<StkLocation> list) {
        return baseMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(StkLocation record) {
        return baseMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(StkLocation record) {
        return baseMapper.insertOrUpdateSelective(record);
    }
}


